<!--
 * @Author: gao_m3
 * @Date: 2020-11-02 10:31:25
 * @LastEditors: wei_jt@ecidi.com
 * @LastEditTime: 2021-12-14 10:43:19
 * @Descripttion: 
-->
<template>
  <div class="drawer-container">
    <div class="item-container">
      <fks-tabs
        v-model="serverType"
        type="card"
        style="margin-top: 24px;"
      >
        <fks-tab-pane
          :label="LANG.MAIL"
          name="mailServerConfig"
        >
          <mail-server />
        </fks-tab-pane>
        <fks-tab-pane
          :label="LANG.SMS"
          name="smsServerConfig"
        >
          <sms-server />
        </fks-tab-pane>
        <fks-tab-pane
          :label="LANG.FILE"
          name="fileServerConfig"
          class="fileTab"
        >
          <file-server />
        </fks-tab-pane>
      </fks-tabs>
    </div>
  </div>
</template>

<script>
import Mix from '@/mixins/module'
import MailServer from './components/MailServer'
import SmsServer from './components/SmsServer'
import FileServer from './components/FileServer'
export default {
  name: 'Server',
  components: { MailServer, SmsServer, FileServer },
  mixins: [Mix],
  data() {
    return {
      serverType: 'mailServerConfig'
    }
  },
  methods: {
    serverAdd() {}
  }
}
</script>

<style lang="scss" scoped>
.drawer-container {
  width: 100%;
  min-width: 648px;
  height: 100%;
  padding: 28px;
  overflow-y: auto;
  background-color: white !important;

  .item-container {
    width: 100%;
  }
}
</style>